package cn.tedu.resultmapdemo.mapper;

import cn.tedu.resultmapdemo.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
public interface StudentMapper {

    public List<Student> selectListByBirth(@Param("minBirth") String minBirth, @Param("maxBirth") String maxBirth);

    //批量删除学生的方法
    public int deleteStudentByIds(Integer[] ids);
}
